//
//  ShmBackUpModel.swift
//  ParsingCC
//
//  Created by ins-yangming on 2023/2/9.
//

import UIKit

class ShmBackUpModel: ShmBaseNoteModel {
    var duration = 0;
    
    override func getXmlElement() -> GDataXMLElement {
        let noteElement = GDataXMLNode.element(withName: "backup");
        let durationElement = GDataXMLNode.element(withName: "duration" , stringValue: "\(Int(self.duration))");
            noteElement?.addChild(durationElement);
        return noteElement!;
    }
}
